<!-- You can start editing here. -->

<h2 id="comments">{comments_num} Response to &#8220;{post_title}&#8221;</h2>
						
{if $comments_num > 0}

	<div class="comments">

	{for $i=0; $i<count($array); $i++}
			<div id="comment">
				<cite>
					<a href="{$array.$i->link}">
						{$array.$i->author}
					</a> remarks on 
						
						{php}
									
						//timestamp template function 
						 echo date('F jS, Y',strtotime($array.$i->date));
						 			
				  		{/php}:
				</cite>
				
				<p>
					{$array.$i->body}
				</p>
			</li>			
	</div>
	{/for}
</div>
{else}
		<p class="nocomments">No comments yet.</p>
{/if}

{if $closed > 0}
		<p class="nocomments">Comments are closed.</p>
{else}
	
<h3>Leave a Comment</h3>
		
		<form action="{blog_url}" method="post">
		
		<input type="hidden" name="action" value="addcomment">
		<input type="hidden" name="postid" value="{post_id}">
		
		<p><input type="text" name="author" id="author" class="styled" value="" size="22" tabindex="1" class="styled" />
		
		<label for="author">Name</label></p>
		
		<p><input type="text" name="email" id="email" value="" size="22" tabindex="2" class="styled" />
		
		<label for="email">Mail (will not be published)</label></p>
		
		<p><input type="text" name="link" id="url" value="" size="22" tabindex="3" class="styled" />
		<label for="url">Website</label></p>
		
		<p><textarea name="body" cols="45%" rows="9" tabindex="4" class="styled"></textarea></p>
		{akismet}
		{captcha}
		<p><input type="submit" tabindex="5" value="Submit Comment"/></p>
		
		</form>
{/if}